package com.hs.srm.admin.modules.pricemanagement.controller;

import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.hs.srm.admin.modules.pricemanagement.service.EssentialInformationService;
import com.hs.srm.admin.modules.sys.controller.AbstractController;
import com.hs.srm.common.utils.PageUtils;
import com.hs.srm.common.utils.R;


/**
 * @author 1
 *
 * @date 2019年3月25日
 */
@RestController
@RequestMapping("/essentialInformation")
public class EssentialInformationController extends AbstractController {

	private static final long serialVersionUID = -4123823577744890422L;

	@Autowired
	private EssentialInformationService essentialInformationServiceImpl;
	/**
	 * 查询信息记录维护
	 */
	@RequestMapping("/list")
	public R list(@RequestParam Map<String, Object> params) {
		// 查询用户列表
		PageUtils page = this.essentialInformationServiceImpl.selectDetailPage(params);
		return R.ok(page);
	}


	
}
